/**
 * 埋点系统统一入口
 * @author lhx
 */

// 核心组件导出
export { default as ClickTrackerLhx } from '../components/ClickTrackerLhx';
export { 
  TrackedTouchableOpacityLhx, 
  TrackedViewLhx, 
  withClickTrackingLhx 
} from '../components/ClickTrackerLhx';

// 服务类导出
export { default as TrackingServiceLhx } from '../services/trackingServiceLhx';
export { default as TrackingManagerLhx } from '../managers/TrackingManagerLhx';
export { default as TrackingStorageLhx } from '../storage/trackingStorageLhx';

// Redux相关导出
export { default as trackingSliceLhx } from '../../store/slices/trackingSliceLhx';
export {
  addEvent,
  addEvents,
  removeUploadedEvents,
  updateConfig,
  initSession,
  pushPage,
  popPage,
  setUploadingStatus,
  addToUploadQueue,
  clearUploadQueue,
  markEventsAsUploaded,
  updateLastUploadTime,
  incrementRetryCount,
  clearAllData,
  loadTrackingDataLhx,
  saveEventToStorageLhx,
  saveEventsToStorageLhx,
  selectTrackingState,
  selectTrackingEvents,
  selectTrackingConfig,
  selectCurrentSession,
  selectUnuploadedEvents,
  selectIsUploading
} from '../../store/slices/trackingSliceLhx';

// 类型定义导出
export * from '../types/trackingTypes';

// 使用示例导出
export { default as ClickTrackingUsageExampleLhx } from '../examples/ClickTrackingUsageExampleLhx';